	$(function() {
			//弹出登录
			$("#example").hover(function() {
				$(this).stop().animate({
					opacity: '1'
				}, 600);
			}, function() {
				$(this).stop().animate({
					opacity: '0.6'
				}, 1000);
			}).on('click', function() {
				$("#LoginBox").fadeIn("slow");
			});
			//关闭
			$(".close_btn").hover(function() {
				$(this).css({
					color: 'black'
				})
			}, function() {
				$(this).css({
					color: '#999'
				})
			}).on('click', function() {
				$("#LoginBox").fadeOut("fast");
			});
			//意见反馈中下拉列表
			$('select').selectlist({
				zIndex: 10,
				width: 262,
				height: 40
			});
			//提交意见反馈
			$('._37degree_submit').click(function() {
				var title = $('._37degree_title').val();
				var content = $('._37degree_content').val();
				var contact_way = $('._37degree_contact_way').val();
				var contact_information = $('._37degree_contact_infomaction').val();
				var contact_way_text = $('#37degree_contact_way input[class="select-button"]').val();

				if(title == "" || typeof(title) == "undefined") {
					setting = {
						msg: '标题不能为空',
						type: 'warning'
					};
					show_msg(setting);
					return;
				}

				if(content == "" || typeof(content) == "undefined") {
					show_msg({
						msg: '内容不能为空'
					});
					return;
				}

				if(contact_information == "" || typeof(contact_information) == "undefined") {
					show_msg({
						msg: '联系方式不能空'
					});
					return;
				}
				var data = {};
				data.title = title;
				data.content = content;
				data.contact_way = contact_way;
				data.contact_information = contact_information;
				data.contact_way_text = contact_way_text;

				// 按钮置为不可点击
				var cur = $(this);
				it_enable(cur, true);
				$('#feedback').text('');
				run_waitMe('#feedback');
				$.ajax({
					url: '/feedback/index',
					dataType: 'json',
					async: true,
					data: data,
					type: "POST",
					success: function(req) {
						//请求成功时处理
						if(req.status == 200) {
							it_enable(cur, false);
							$('._37degree_feedback').hide();
							$('#feedback').text('提交');
							$('#feedback').waitMe('hide');
							$('._37degree_title').val('');
							$('._37degree_content').val('');
							$('._37degree_contact_infomaction').val('');
							show_msg({
								msg: req.msg,
								type: 'ok',
								time: 1000
							});

						}
					},
					error: function() {
						it_enable(cur, false);
						$('#feedback').waitMe('hide');
						$('#feedback').text('提交');
						//请求出错处理
						show_msg({
							msg: "系统异常,请稍后重试",
							type: 'error',
							time: 1000
						});
					}
				});
			});
		})
		/**
		 * 
		 * @param {Object} feedback_effect
		 */
	function run_waitMe(feedback_effect, msg) {
		msg = msg ? msg : '提交中...';
		$(feedback_effect).waitMe({
			effect: 'ios',
			bg: 'rgba(16,128,242,0)',
			text: msg,
			color: '#fff',
			padding: '10px',
			sizeW: '',
			sizeH: '',
			source: 'img.svg'
		});
	}
	/**
	 * 按钮是否可以点击
	 * @param {Object} cur 当前点击的按钮
	 * @param {Object} enable 布尔值
	 */
	function it_enable(cur, enable) {
		if(enable) {
			cur.attr("disabled", "true");
		} else {
			cur.removeAttr("disabled");
		}
	}